package com.example.demo.service;

import java.util.List;

import org.springframework.stereotype.Service;

import com.example.demo.custom.BaseService;
import com.example.demo.entity.SaleKeHuGuanXi;
import com.example.demo.entity.SaleKeHuGuanXi2;
import com.example.demo.repository.SaleKeHuGuanXi2Repository;

@Service
public class SaleKeHuGuanXi2Service extends BaseService<SaleKeHuGuanXi2, Integer>{
	private SaleKeHuGuanXi2Repository r2;

	public List<SaleKeHuGuanXi2> findBySalekehuguanxi(SaleKeHuGuanXi sale1) {
		// TODO Auto-generated method stub
		return r2.findBySalekehuguanxi(sale1);
	}

	public List<SaleKeHuGuanXi2> findBySalekehuguanxiId(Integer id) {
		// TODO Auto-generated method stub
		return r2.findBySalekehuguanxiId(id);
	}



}
